﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.RbacData.Domain.Traceabilitys
{
    /// <summary>
    /// 养殖信息
    /// </summary>
    public  class FarmingModel
    {
        [Key]
        public int FarmingId { get; set; }

        /// <summary>
        /// 品种
        /// </summary>
        public string Breed {  get; set; }=null!;
        /// <summary>
        /// 来源
        /// </summary>
        public string Origin {  get; set; }=null!;
        /// <summary>
        /// 饲养天数
        /// </summary>
        public int FeedingDays {  get; set; }
        /// <summary>
        /// 饲料品牌
        /// </summary>
        public string FeedBrand {  get; set; }=null!;
        /// <summary>
        /// 饲养负责人
        /// </summary>
        public string FeedingSupervisor {  get; set; }=null!;
        /// <summary>
        /// 出栏日期
        /// </summary>
        public DateTime HarvestDate { get; set; }

        /// <summary>
        /// 溯源编号
        /// </summary>
        public int ProductId { get; set; }

    }
}
